package com.vhall.component.entity.room.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 房间设置二维码列表
 *
 * @TableName room_qr_code
 */
@TableName(value = "room_qr_code")
@Data
public class RoomQrCodeEntity implements Serializable {
    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 房间活动id
     */
    @TableField(value = "room_id")
    private String roomId;

    /**
     * 房间标题
     */
    @TableField(value = "room_subject")
    private String roomSubject;

    /**
     * 引流平台
     */
    @TableField(value = "drainage_platform")
    private String drainagePlatform;

    /**
     * 业绩归属系统中生成的qrcode
     */
    @TableField(value = "qr_code")
    private String qrCode;

    /**
     * 直播二维码
     */
    @TableField(value = "live_qr_code")
    private String liveQrCode;

    /**
     * 用户id
     */
    @TableField(value = "account_id")
    private Integer accountId;

    @ApiModelProperty(value = "直播来源,从创建人身上获取")
    @TableField("org_code")
    private String orgCode;

    @ApiModelProperty(value = "直播来源,从创建人身上获取")
    @TableField("org_name")
    private String orgName;

    /**
     * 创建日期
     */
    @TableField(value = "created_at")
    private LocalDateTime createdAt;

    /**
     * 更新时间
     */
    @TableField(value = "updated_at")
    private LocalDateTime updatedAt;

    /**
     * 是否已删除 0 表示未删除 1 表示已删除
     */
    @TableField(value = "deleted")
    private Integer deleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}